You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
using UnityEngine;
|
|
|
|
namespace AllIn1SpriteShader
|
|
{
|
|
public class DemoItem : MonoBehaviour
|
|
{
|
|
static readonly Vector3 lookAtZ = new Vector3(0, 0, 1);
|
|
|
|
void Update()
|
|
{
|
|
transform.LookAt(transform.position + lookAtZ);
|
|
}
|
|
}
|
|
} |