コード例 #1
0
 private void Start()
 {
     ThisCharaGeneral = gameObject.GetComponent <ControllerCharaGeneral>();
     ThisAttack       = gameObject.GetComponent <ControllerAttack>();
     AddInfoToCharaGeneralAsPlayer();
     ThisAnim = GetComponent <Animator>();
     Xray     = GameObject.Find("Xray");
 }
コード例 #2
0
 private void Start()
 {
     ThisCharaGeneral = gameObject.GetComponent <ControllerCharaGeneral>();
     ThisAttack       = gameObject.GetComponent <ControllerAttack>();
     AddInfoToCharaGeneralAsEnemy();
     ThisAnimFront = this.transform.Find("ImageFront").gameObject.GetComponent <Animator>();
     ThisAnimBack  = this.transform.Find("ImageBack").gameObject.GetComponent <Animator>();
 }