Assets/Watson/Scripts/Camera/CameraTarget.cs
/// <summary>
/// Sets the current target on camera.
/// </summary>
/// <param name="enable">If set to <c>true</c> enable.</param>
Sets the current target on camera.
Sets the current target on camera .
public void SetCurrentTargetOnCamera(bool enable)
        {
            if (WatsonCamera.Instance != null)
            {
                if (enable)
                    WatsonCamera.Instance.CurrentCameraTarget = this;
                else
                    WatsonCamera.Instance.CurrentCameraTarget = null;
            }
        }
public void SetCurrentTargetOnCamera ( bool enable ) { if ( WatsonCamera . Instance != null ) { if ( enable ) WatsonCamera . Instance . CurrentCameraTarget = this ; else WatsonCamera . Instance . CurrentCameraTarget = null ; } }
Sets the current target on camera.
Sets the current target on camera .
enable
bool
If set to true
If set to true