示例#1
0
        public WalkAnturaState(ReadingGameAntura antura)
            : base(antura)
        {
            this.antura = antura;
            var startPosition = antura.transform.position;

            center = startPosition + radius * (new Vector3(1, 0, 1)).normalized;

            right   = (startPosition - center).normalized;
            forward = Vector3.Cross(right, Vector3.up);
        }
示例#2
0
 public IdleAnturaState(ReadingGameAntura antura)
     : base(antura)
 {
     this.antura = antura;
 }