27 lines
472 B
C#
27 lines
472 B
C#
using UnityEngine;
|
|
|
|
namespace ZC
|
|
{
|
|
public interface ICreateBindingGo
|
|
{
|
|
GameObject go { get; }
|
|
GameObjectBinding binding { get; }
|
|
void SetGo(GameObject go);
|
|
}
|
|
|
|
public interface IBehaviour
|
|
{
|
|
long Id { get; }
|
|
bool isDisposed { get; }
|
|
bool isPause { get; }
|
|
void OnInit();
|
|
|
|
void OnUpdate(float dateTime);
|
|
|
|
void OnPause();
|
|
|
|
void OnResume();
|
|
|
|
void OnDispose();
|
|
}
|
|
} |