コード例 #1
0
 void Start()
 {
     playerStats       = GameObject.Find("Player").GetComponent <PlayerDataManager>();
     collisionStats    = GameObject.Find("CollisionDataManager").GetComponent <CollisionDataManager>();
     player            = GameObject.Find("Player");
     difficultyManager = GameObject.Find("DifficultyManager").GetComponent <DifficultyManager> ();
 }
コード例 #2
0
 void Start()
 {
     playerStats          = GameObject.Find("Player").GetComponent <PlayerDataManager> ();
     collisionStats       = GameObject.Find("CollisionDataManager").GetComponent <CollisionDataManager> ();
     difficulty           = 1;
     difficultyDifference = 0;
     speed = 4.0f;
 }