コード例 #1
0
ファイル: TGSInspector.cs プロジェクト: dqchess/fire-emblem
        void ExportGridConfig()
        {
            TGSConfig configComponent = tgs.gameObject.AddComponent <TGSConfig> ();

            configComponent.SaveConfiguration(tgs);
            configComponent.enabled = false;
        }
コード例 #2
0
ファイル: TGSInspector.cs プロジェクト: mengtest/CYMCommon
        void CreatePlaceholder()
        {
            TGSConfig configComponent = tgs.gameObject.AddComponent <TGSConfig> ();

            configComponent.textures = tgs.textures;
            configComponent.config   = tgs.CellGetConfigurationData();
            configComponent.enabled  = false;
        }