コード例 #1
0
 void Start()
 {
     this.executeOnStartAttack = GetComponent<ExecuteOnStartAttack>();
 }
コード例 #2
0
 void Awake()
 {
     this.character = GetComponent<PlatformerCharacter2D>();
     this.stateSwitcher = GetComponent<PlayerStateSwitcher>();
     this.rigidBody2D = GetComponent<Rigidbody2D>();
     this.executeOnStartAttack = GetComponent<ExecuteOnStartAttack>();
 }