12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
-
- namespace SC.XR.Unity {
- public abstract class SCLifeCycle : ISCLifeCycle {
- public SCLifeCycle() {
- DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "创建 ", this);
- }
- ~SCLifeCycle() {
- DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "析构", this);
- }
- public virtual void OnSCAwake() {
- DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCAwake", this);
- }
- public virtual void OnSCEnable() {
- DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCEnable", this);
- }
- public virtual void OnSCStart() {
- DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCStart", this);
- }
- public virtual void OnSCUpdate() {
- //DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCUpdate", this);
- }
- public virtual void OnSCLateUpdate() {
- //DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCLateUpdate", this);
- }
- public virtual void OnSCFuncitonWaitForEndOfFrame() {
- //DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCFuncitonWaitForEndOfFrame", this);
- }
- public virtual void OnSCDisable() {
- DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCDisable", this);
- }
- public virtual void OnSCDestroy() {
- DebugMy.Log("[HashCode: " + GetHashCode() + "] " + "OnSCDestroy", this);
- }
- }
- }
|