// public enum JOB_STATE{ // S_ASSIGNMENT, // S_BREAK_ON_BALL // } void Awake() { cAth = GetComponent <PRAC_Ath>(); cRouteLog = GetComponent <OFF_RouteLog>(); cCatchLog = GetComponent <RP_CatchLog>(); cRigid = GetComponent <Rigidbody>(); rManager = FindObjectOfType <RP_Manager>(); mState = STATE.SPRE_SNAP; }
void Start() { rManager = FindObjectOfType <RP_Manager>(); }