修改水
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Obi;
|
||||
|
||||
namespace Obi.Samples
|
||||
public class ObiActorTeleport : MonoBehaviour
|
||||
{
|
||||
public class ObiActorTeleport : MonoBehaviour
|
||||
{
|
||||
public ObiActor actor;
|
||||
public Transform target;
|
||||
public ObiActor actor;
|
||||
public Transform target;
|
||||
|
||||
public void Teleport()
|
||||
{
|
||||
actor.Teleport(target.position, target.rotation);
|
||||
}
|
||||
public void Teleport()
|
||||
{
|
||||
actor.Teleport(target.position, target.rotation);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user