Inheritance: Ninject.Modules.NinjectModule
コード例 #1
0
        public override void Awake()
        {
            base.Awake();

            _unityModule = Owner.GetComponent <UnityModule>();
            if (_unityModule == null)
            {
                Debug.LogWarning("There exist no UnityModule!");
            }
            else
            {
                _unityModule.OnStarted += OnStarted;
                _unityModule.OnStopped += OnStopped;
                _unityModule.OnUpdated += OnUpdated;
            }
        }
コード例 #2
0
 public static void CopyControlReference(MenuCommand command)
 {
     clipboard = command.context as UnityModule;
 }