コード例 #1
0
ファイル: Death.cs プロジェクト: chinafuqh/UnityX
 // Use this for initialization
 void Start()
 {
     newplayer = GetComponent <newPlayer>();
     anim      = GetComponent <Animator>();
 }
コード例 #2
0
 void Start()
 {
     player = transform.root.GetComponent<newPlayer>();
 }
コード例 #3
0
 // Use this for initialization
 void Start()
 {
     Cursor.visible = false;
     jogadorMAIN    = jogador.GetComponent <newPlayer>();
     //changeCamera();
 }
コード例 #4
0
 // Use this for initialization
 void Start()
 {
     nPlayer = GetComponent <newPlayer>();
     mGame   = GameObject.Find("CONFIG").GetComponent <MainGame>();
 }