initial upload
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
public class characteranimations : MonoBehaviour
|
||||
{
|
||||
public GameObject Player;
|
||||
|
||||
public virtual void Update()
|
||||
{
|
||||
if (Input.GetAxis("Vertical") != 0f)
|
||||
{
|
||||
GetComponent<NetworkView>().RPC("walking", RPCMode.All, Player.name);
|
||||
}
|
||||
else
|
||||
{
|
||||
GetComponent<NetworkView>().RPC("idle", RPCMode.All, Player.name);
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void Main()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user