public override void ListenInternalMessage(eInternalInteractMessage _internalInteractMsg) { base.ListenInternalMessage(_internalInteractMsg); switch (_internalInteractMsg) { case eInternalInteractMessage.Disable: //m_fTargetEmissionMultiply = 0; SetTextureMultiply(0); StopCheckGround(); break; case eInternalInteractMessage.Enable_Physics: SetRigidbodyValue(true, false); break; case eInternalInteractMessage.Disable_Physics: SetRigidbodyValue(false, true); break; case eInternalInteractMessage.Detect_Collision: DetectCollision(); break; case eInternalInteractMessage.UnDetect_Collision: UnDetectCollision(); break; case eInternalInteractMessage.Freeze_Rigidbody_Rotation: FreezeRigidbodyRotation(); break; case eInternalInteractMessage.UnFreeze_Rigidbody_Rotation: UnFreezeRigidbodyRotation(); break; case eInternalInteractMessage.Start_Check_Ground: StartCheckGround(); break; case eInternalInteractMessage.Stop_Check_Ground: StopCheckGround(); break; } }
public virtual void ListenInternalMessage(eInternalInteractMessage _internalInteractMsg) { switch (_internalInteractMsg) { case eInternalInteractMessage.Disable: m_bIsEnabled = false; break; case eInternalInteractMessage.Enable: m_bIsEnabled = true; break; } }
public override void ListenInternalMessage(eInternalInteractMessage _internalInteractMsg) { base.ListenInternalMessage(_internalInteractMsg); switch (_internalInteractMsg) { case eInternalInteractMessage.Pull_Start_To_Max: StartProcToMax(null); break; case eInternalInteractMessage.Pull_Start_To_Min: StartProcToMin(null); break; } }
public override void ListenInternalMessage(eInternalInteractMessage _internalInteractMsg) { base.ListenInternalMessage(_internalInteractMsg); switch (_internalInteractMsg) { case eInternalInteractMessage.Disable: GameManagers.GameLoop.onUpdate -= OnGrabbing; GameManagers.GameLoop.onFixedUpdate -= OnFixedGrabbing; break; } }