AndroidCallBackBase.cs 574 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using UnityEngine;
  5. namespace SC.Tools {
  6. public abstract class AndroidCallBackBase : AndroidJavaProxy {
  7. public Action CallBack;
  8. public AndroidCallBackBase(string javaInterface) : base(javaInterface) {
  9. }
  10. public virtual void OnAwake() { }
  11. public virtual void OnEnable() { }
  12. public virtual void OnStart() { }
  13. public virtual void OnUpdate() { }
  14. public virtual void OnDisable() { }
  15. public virtual void OnDestroy() { }
  16. }
  17. }