Esempio n. 1
0
    public override void OnInspectorGUI()
    {
        ElementAdjustment a = (ElementAdjustment)target;

        if (GUILayout.Button("AdjustElements"))
        {
            a.AdjustElements(Camera.main);
        }
    }
Esempio n. 2
0
 public void SetUpNewElements(ElementAdjustment e)
 {
     e.AdjustElements(Maincamera);
 }
Esempio n. 3
0
 public void SetUpNewElements(ElementAdjustment e, Movement_Func m)
 {
     e.AdjustElements(Maincamera);
     PlayerMoveController.changeMovementType(m);
 }
Esempio n. 4
0
 /// <summary>
 /// Takes in changes to level elements and control schemas and applies them.
 /// </summary>
 public void SetUpNewElements(ElementAdjustment e, Movement_Func m, LevelElementAdjustor l)
 {
     l.SetupLevel();
     e.AdjustElements(Maincamera);
     PlayerMoveController.changeMovementType(m);
 }