public void SetWorldCenterMode(WorldCenterMode value) { if (!Application.isPlaying) { this.mWorldCenterMode = value; } }
// This method is used to set the world center mode in the Unity editor. // Switching modes is not supported at runtime. public void SetWorldCenterMode(WorldCenterMode value) { if (!Application.isEditor) { return; } mWorldCenterMode = value; }
/// <summary> /// This method is used to set the world center mode in the Unity editor. /// Switching modes is not supported at runtime. /// </summary> public void SetWorldCenterMode(WorldCenterMode value) { if (Application.isPlaying) { return; } mWorldCenterMode = value; }
/// <summary> /// Set world center mode /// </summary> /// <param name="worldCenterMode">World center enum value</param> public void SetWorldCenterMode(WorldCenterMode worldCenterMode) { this.worldCenterMode = worldCenterMode; }
// This method is used to set the world center mode in the Unity editor. // Switching modes is not supported at runtime. public void SetWorldCenterMode(WorldCenterMode value) { if (!Application.isEditor) return; mWorldCenterMode = value; }
/// <summary> /// This method is used to set the world center mode in the Unity editor. /// Switching modes is not supported at runtime. /// </summary> public void SetWorldCenterMode(WorldCenterMode value) { if (Application.isPlaying) return; mWorldCenterMode = value; }