public void InitializeTama() { if (danAgent == null) { return; } danAgent.InitializeTama(); if (collisionAgent == null) { return; } danAgent.AddTamaColliders(collisionAgent); }
public void InitializeTama() { if (danAgent == null) { return; } danAgent.InitializeTama(); if (collisionAgent == null || collisionAgent.m_collisionCharacter == null) { return; } danAgent.AddTamaColliders(collisionAgent.m_collisionCharacter); }
public void SetCollisionAgent(ChaControl target) { if (danAgent == null || danOptions == null || !danTargetsValid) { return; } if (collisionAgent != null) { danAgent.RemoveDanColliders(collisionAgent); danAgent.RemoveTamaColliders(); } collisionAgent = target; danAgent.AddDanColliders(collisionAgent); danAgent.AddTamaColliders(collisionAgent, false); }