Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     guardManager = guardGauge.GetComponent <GuardGaugeManeger>();
     GuardShapeInactive();
     //AudioSourceコンポーネントを取得し、変数に格納
     AudioSource[] audioSources = GetComponents <AudioSource>();
     sound01      = GetComponent <AudioSource>();
     playerRbody  = player.GetComponent <Rigidbody2D>();
     comboManeger = comboManagerObj.GetComponent <ComboManeger>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     rbody    = GetComponent <Rigidbody2D> ();
     animator = GetComponent <Animator> ();
     //AudioSourceコンポーネントを取得し、変数に格納
     AudioSource[] audioSources = GetComponents <AudioSource>();
     sound01      = audioSources[0];
     sound02      = audioSources[1];
     comboManeger = comboManagerObj.GetComponent <ComboManeger>();
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     comboManeger = comboManagerObj.GetComponent <ComboManeger>();
 }
Exemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     playerManager = player.GetComponent <PlayerManager>();
     comboManeger  = comboManagerObj.GetComponent <ComboManeger>();
 }