예제 #1
0
 public void SetWorldCenterMode(WorldCenterMode value)
 {
     if (!Application.isPlaying)
     {
         this.mWorldCenterMode = value;
     }
 }
예제 #2
0
    // 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;
    }
예제 #3
0
    /// <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;
 }
예제 #5
0
    // 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;
    }
예제 #6
0
    /// <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;
    }