// Use this for initialization public override void Start() { base.Start(); this.gameController = GameObject.FindGameObjectWithTag(BBSceneConstants.gameControllerTag).GetComponent<BBGameController>(); this.pathFinder = GetComponent<BBPathfinder>(); this.timer = new BBTimer(); }
// Use this for initialization void Start() { this.spriteRenderer = gameObject.GetComponent<SpriteRenderer>(); this.defaultColor = this.spriteRenderer.material.color; this.timer = new BBTimer(); }
// Use this for initialization void Start() { this.timer = new BBTimer(); this.Expand(); this.gridController = GameObject.FindGameObjectWithTag(BBSceneConstants.layoutControllerTag).GetComponent<BBGridController>(); }
// Use this for initialization void Start() { this.positionTimer = new BBTimer(); this.rotateTimer = new BBTimer(); this.scaleTimer = new BBTimer(); this.shakeTimer = new BBTimer(); this.originalPosition = transform.position; this.originalAngle = transform.rotation.z; this.originalScale = transform.localScale; }
void Awake() { this.timer = new BBTimer(); this.spawnTrack = new List<SpawnUnit>(); this.gridController = GameObject.FindGameObjectWithTag(BBSceneConstants.layoutControllerTag).GetComponent<BBGridController>(); }
// Use this for initialization void Start() { this.timer = new BBTimer(); }