Exemplo n.º 1
0
 public override void OnInspectorGUI()
 {
     DrawDefaultInspector();
     if (GUILayout.Button("Create Circle"))
     {
         CreateCirlce();
     }
     if (GUILayout.Button("Create Slalom"))
     {
         CreateSlalom();
     }
     if (GUILayout.Button("Add Control Point"))
     {
         Target.AddControlPoint();
     }
     if (GUILayout.Button("Remove Control Point"))
     {
         Target.RemoveControlPoint();
     }
 }