コード例 #1
0
 private void Awake()
 {
     if (instance != null)
     {
         Destroy(this.gameObject);
     }
     else
     {
         instance = this;
     }
 }
コード例 #2
0
    public override void OnCreate()
    {
        m_Instance = this;
        base.OnCreate();
        if (Creator == null)
        {
            Creator = CSMain.GetCreator(CSConst.ciDefMgCamp);
        }

        FactoryUI.Init();
    }
コード例 #3
0
 public Application(FactoryUI factory)
 {
     window = factory.Open();
 }
コード例 #4
0
 void Start()
 {
     factoryUI = UIController.Instance.factoryUI;
 }