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