コード例 #1
0
        /* Functions */

        protected override void Awake()
        {
            base.Awake();

            this.mLookAtAction = this.GetComponent <JCS_3DLookAtAction>();
            mLookAtAction.SetTargetTransform(mLookPoint);
        }
コード例 #2
0
        private void DoPath()
        {
            GetNextPoint();

            this.mGoStraightAction.enabled = true;

            mLookAtAction.SetTargetTransform(mPoints[mTargetPointIndex]);
        }