/// <summary> /// /// </summary> public void ClearValue() { name = string.Empty; rangeMod = 0f; yawMod = 0f; heightMod = 0f; wallBufferMod = 0f; priority = -1; focusMod = Vector2.zero; fieldOfView = 0; loopType = XCmaeraModLoopType.Always; loopDuration = 0f; }
/// <summary> /// /// </summary> /// <param name="theName"></param> /// <param name="thePriority"></param> /// <param name="theFocusMod"></param> /// <param name="theHeightMod"></param> /// <param name="theRangeMod"></param> /// <param name="theYawMod"></param> /// <param name="theWallBufferMod"></param> /// <param name="theFieldOfView"></param> /// <param name="theLoopType"></param> /// <param name="theLoopDuration"></param> public XCameraModifier(string theName, int thePriority, Vector2 theFocusMod, float theHeightMod, float theRangeMod, float theYawMod, float theWallBufferMod, float theFieldOfView, XCmaeraModLoopType theLoopType, float theLoopDuration) { name = theName; priority = thePriority; focusMod = theFocusMod; heightMod = theHeightMod; rangeMod = theRangeMod; yawMod = theYawMod; wallBufferMod = theWallBufferMod; fieldOfView = theFieldOfView; loopType = theLoopType; loopDuration = theLoopDuration; }