protected override void OnEnable() { base.OnEnable(); _normalMat = new Material(Shader.Find("Sprites/Default")); _timeControl = new SpriteAnimationPreview((SpriteAnimation)target); }
void OnEnable() { _normalMat = new Material(Shader.Find("Sprites/Default")); _timeControl = new SpriteAnimationPreview((SpriteAnimation)target); }