浏览代码

Default Names

/feature-cinemachine-noise-shake
Thomas ICHÉ 4 年前
当前提交
7fa9e0a7
共有 3 个文件被更改,包括 10 次插入3 次删除
  1. 6
      Runtime/LevelScripting/Actions/CinemachineCameraShakeAction.cs
  2. 3
      Runtime/LevelScripting/Actions/CinemachineSetCameraNoiseAction.cs
  3. 4
      Runtime/LevelScripting/Actions/CinemachineSetCustomBlendsAction.cs

6
Runtime/LevelScripting/Actions/CinemachineCameraShakeAction.cs


impulseSource.GenerateImpulse(impulse);
}
break;
}
}
public override string GetDefaultName() => $"CM CameraShake at {impulseLocation}";
}
}

3
Runtime/LevelScripting/Actions/CinemachineSetCameraNoiseAction.cs


noise.m_NoiseProfile = settings;
}
public override string GetDefaultName() => $"CM Set Noise ({settings.name}) for {(useLiveCamera? "Live Camera" : targetCamera?.gameObject.name)}";
}
}

4
Runtime/LevelScripting/Actions/CinemachineSetCustomBlendsAction.cs


}
}
}
}
public override string GetDefaultName() => $"{action} CM Custom Blends : {settings}";
}
}
正在加载...
取消
保存