コード例 #1
0
 // Start is called before the first frame update
 void Start()
 {
     _anim             = this.GetComponent <Animator>();
     _playerController = this.GetComponent <tdPlayerController>();
     _entity           = this.GetComponent <tdEntity>();
     PrimeCombos();
 }
コード例 #2
0
 //public bgEntityEvent Callback;
 private void Awake()
 {
     _entity = this.GetComponent <tdEntity>();
     if (_entity == null)
     {
         _entity = this.GetComponentInParent <tdEntity>();
     }
 }
コード例 #3
0
 void Start()
 {
     _tdBaseEntity = this.GetComponent <tdEntity>();
 }