public WFCPrototype(int id, int rotation, bool flipped, WFCSchema schema) { this.Id = id; this.Schema = schema; this.Rotation = rotation; this.Flipped = flipped; }
public void OnEnable() { prototype = (WFCSchema)target; p_directions = new[] { serializedObject.FindProperty("up"), serializedObject.FindProperty("down"), serializedObject.FindProperty("left"), serializedObject.FindProperty("right"), serializedObject.FindProperty("back"), serializedObject.FindProperty("forward") }; }