protected override IEnumerator OnCreate_Instance(ECanvasName eName, bool bIsMultiple, System.Action <ICanvas> OnFinishCreate)
            {
                switch (eName)
                {
                case ECanvasName.Single: OnFinishCreate(new GameObject(nameof(Canvas_ForLogicTest)).AddComponent <Canvas_ForLogicTest>()); break;

                default: Debug.LogError("Error"); break;
                }

                yield break;
            }
Ejemplo n.º 2
0
 public override Canvas GetParentCanvas(ECanvasName eName, ICanvas pCanvas)
 {
     return(null);
 }
Ejemplo n.º 3
0
            protected override void OnHide(ECanvasName eName, ICanvas pInstance, int iInstanceCount)
            {
                base.OnHide(eName, pInstance, iInstanceCount);

                // DestroyImmediate(pInstance.gameObject);
            }