Esempio n. 1
0
    public SelfSchemeDesign CreateSelfDesign(UIScheme.SelfContainer container)
    {
        var design = Instantiate(mSelfDesignPrefab, mSchemeContainer).GetComponent <SelfSchemeDesign> ();

        design.Init(container);
        return(design);
    }
Esempio n. 2
0
 public void Init(UIScheme.SelfContainer container)
 {
     mContainer      = container;
     gameObject.name = "Core: " + mContainer.SelfBuildInfo.Name;
     mName.text      = mContainer.SelfBuildInfo.Name;
 }