예제 #1
0
 public void OnEnable()
 {
     instance = (GSplineModifier)target;
 }
        private void AddModifier(Type t)
        {
            GSplineModifier modifier = instance.gameObject.AddComponent(t) as GSplineModifier;

            modifier.SplineCreator = instance;
        }