示例#1
0
 // Use this for initialization
 public override void Start()
 {
     base.Start();
     this.bounds = GetComponent<Collider>().bounds;
     this.gameController = GameObject.FindGameObjectWithTag(BBSceneConstants.gameControllerTag).GetComponent<BBGameController>();
     this.pathFinder = GetComponent<BBPathfinder>();
 }
 // Use this for initialization
 void Start()
 {
     this.gameController = GameObject.FindGameObjectWithTag("GameController").GetComponent<BBGameController>();
 }
示例#3
0
 // Use this for initialization
 void Start()
 {
     this.gameController = GameObject.FindGameObjectWithTag(BBSceneConstants.gameControllerTag).GetComponent<BBGameController>();
     this.currentState = State.LOADING;
 }