// Start is called before the first frame update void Start() { ChildObject = transform.GetChild(0).gameObject; Script = GetComponent <TakoController>(); animator = ChildObject.GetComponent <Animator>(); m_ObjCamera = GameObject.FindWithTag("MainCamera"); }
// Start is called before the first frame update void Start() { takoModel = transform.GetChild(0).gameObject; animator = takoModel.GetComponent <Animator>(); takoScript = GetComponent <TakoController>(); }
// Start is called before the first frame update void Start() { m_ObjPlayer = GameObject.FindWithTag("PlayerCharacter"); m_TakoScript = m_ObjPlayer.GetComponent <TakoController>(); }