Beispiel #1
0
    void OnEnable()
    {
        if (_spriteCollection != null)
        {
            SetGenerator(_spriteCollection);
        }

        spriteView      = new SpriteView(this);
        settingsView    = new SettingsView(this);
        fontView        = new FontView(this);
        spriteSheetView = new SpriteSheetView(this);
    }
    void OnEnable()
    {
        if (_spriteCollection != null)
        {
            SetGenerator(_spriteCollection);
        }

        spriteView = new SpriteView(this);
        settingsView = new SettingsView(this);
        fontView = new FontView(this);
        spriteSheetView = new SpriteSheetView(this);
    }