WXMC/.svn/pristine/11/116f7341026b46cd41cf2f1b91473d419976526e.svn-base
2024-12-04 16:18:46 +08:00

13 lines
211 B
Plaintext

using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class CameraTarget : MonoBehaviour {
public Transform m_TargetOffset;
void LateUpdate(){
transform.LookAt (m_TargetOffset);
}
}