/* Functions */ protected override void Awake() { base.Awake(); this.mLookAtAction = this.GetComponent <JCS_3DLookAtAction>(); mLookAtAction.SetTargetTransform(mLookPoint); }
private void DoPath() { GetNextPoint(); this.mGoStraightAction.enabled = true; mLookAtAction.SetTargetTransform(mPoints[mTargetPointIndex]); }