UnityEngine.NavMeshAgent.INTERNAL_CALL_Move C# (CSharp) Метод

INTERNAL_CALL_Move() приватный Метод

private INTERNAL_CALL_Move ( NavMeshAgent self, Vector3 &offset ) : void
self NavMeshAgent
offset Vector3
Результат void
        private static extern void INTERNAL_CALL_Move(NavMeshAgent self, ref Vector3 offset);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

Пример #1
0
 /// <summary>
 ///   <para>Apply relative movement to current position.</para>
 /// </summary>
 /// <param name="offset">The relative movement vector.</param>
 public void Move(Vector3 offset)
 {
     NavMeshAgent.INTERNAL_CALL_Move(this, ref offset);
 }