11 lines
184 B
C#
11 lines
184 B
C#
using UnityEngine;
|
|
|
|
public class OnClickRightDestroy : MonoBehaviour
|
|
{
|
|
public void OnPressRight()
|
|
{
|
|
Debug.Log("RightClick Destroy");
|
|
PhotonNetwork.Destroy(base.gameObject);
|
|
}
|
|
}
|