public override void Init() { //Debug.Log("IDLE 2 Init"); m_stateId = FSMStateIDs.StateIds.FSM_Idle2; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); }
public override void Init() { //Debug.Log("CHASE Init"); m_stateId = FSMStateIDs.StateIds.FSM_Chase; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); Target = SMOwner.Target; }
public override void Init() { //Debug.Log("Freeze Init"); m_stateId = FSMStateIDs.StateIds.FSM_PlayerChase; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); Cam = SMOwner.Cam; }
public override void Init() { m_stateId = FSMStateIDs.StateIds.FSM_PlayerIdle; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); Cam = SMOwner.Cam; //Debug.Log("IDLE Init"); }
public override void Init() { //Debug.Log("Freeze Init"); m_stateId = FSMStateIDs.StateIds.FSM_Freeze; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); FTM = FindObjectOfType <FreezeTagManager>(); }
public override void Init() { //Debug.Log("Freeze Init"); m_stateId = FSMStateIDs.StateIds.FSM_SumoPlayer; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); SumoM = FindObjectOfType <SumoManager>(); RB = SMOwner.GetComponent <Rigidbody>(); }
public override void Init() { //Debug.Log("Init"); m_stateId = FSMStateIDs.StateIds.FSM_BasePlayer; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); Cam = SMOwner.Cam; Feet = SMOwner.GetFeet(); Physics.gravity = new Vector3(0, -9.81f * 1, 0); }
public override void Init() { //Debug.Log("FLEE Init"); m_stateId = FSMStateIDs.StateIds.FSM_TagFlee; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); Target = SMOwner.Target; RightEye = SMOwner.RightEye; LeftEye = SMOwner.LeftEye; }
public override void Init() { //Debug.Log("CHASE Init"); m_stateId = FSMStateIDs.StateIds.FSM_NavSumoChase; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); Target = SMOwner.Target; NA = SMOwner.GetComponent <NavMeshAgent>(); SumoM = FindObjectOfType <SumoManager>(); }
public override void Init() { //Debug.Log("Ref Init"); m_stateId = FSMStateIDs.StateIds.FSM_NavSumoRef; CharacterAgent = SMOwner.GetComponent <Agent>(); CharacterRenderer = SMOwner.GetComponent <MeshRenderer>(); Target = SMOwner.Target; PointList = FindObjectsOfType <PointScoring>(); SumoM = FindObjectOfType <SumoManager>(); NA = SMOwner.GetComponent <NavMeshAgent>(); }