Exemple #1
0
 public static void ShowWindow(PixelCharacter character)
 {
     EditorWindow.GetWindow(typeof(ShapeCreatorWindow), false, "Shape Creator", true);
     ShapeCreatorWindow.character = character;
     variablesSet = false;
 }
Exemple #2
0
 private void OnEnable()
 {
     character         = (PixelCharacter)target;
     defaultLabelWidth = EditorGUIUtility.labelWidth;
 }
Exemple #3
0
 public static void ShowWindow(PixelCharacter character, PixelCharacter.BodyPart bodyPart)
 {
     EditorWindow.GetWindow(typeof(ShapeCreatorWindow), false, "Shape Creator", true);
     ShapeCreatorWindow.character = character;
     SetVariables(bodyPart, bodyPart.shape, bodyPart.name);
 }