示例#1
0
        public override void OnUpdate()
        {
            Vector3 position  = ActionHelpers.GetPosition(this.fromObject, this.fromPosition);
            Vector3 position2 = ActionHelpers.GetPosition(this.toObject, this.toPosition);

            Debug.DrawLine(position, position2, this.color.Value);
        }
示例#2
0
        public override void OnUpdate()
        {
            Vector3 startPos = ActionHelpers.GetPosition(fromObject, fromPosition);
            Vector3 endPos   = ActionHelpers.GetPosition(toObject, toPosition);

            Debug.DrawLine(startPos, endPos, color.Value);
        }
示例#3
0
        public override void OnExit()
        {
            var startPos = ActionHelpers.GetPosition(fromObject, fromPosition);
            var endPos   = ActionHelpers.GetPosition(toObject, toPosition);

            Debug.DrawLine(startPos, endPos, color.Value, PlayMakerPrefs.DebugLinesDuration);
        }
示例#4
0
        public override void OnUpdate()
        {
            Vector3 position = ActionHelpers.GetPosition(this.fromObject, this.fromPosition);

            Debug.DrawRay(position, this.direction.Value, this.color.Value);
        }
示例#5
0
        public override void OnUpdate()
        {
            var startPos = ActionHelpers.GetPosition(fromObject, fromPosition);

            Debug.DrawRay(startPos, direction.Value, color.Value);
        }
示例#6
0
        public override void OnExit()
        {
            var startPos = ActionHelpers.GetPosition(fromObject, fromPosition);

            Debug.DrawRay(startPos, direction.Value, color.Value, PlayMakerPrefs.DebugLinesDuration);
        }