public void EditorApply() { MainCharacterControl MCC = GetComponent <MainCharacterControl>(); MovementControl MC = GetComponent <MovementControl>(); ConstructionControl CC = GetComponent <ConstructionControl>(); MCC.SetHeight(Height); MC.MovementSpeed = Speed; gameObject.transform.localScale = new Vector3(CharacterScale, CharacterScale, CharacterScale); CC.Scale = ConstructionScale; }
public void Awake() { Main = this; }