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;
        }
Ejemplo n.º 2
0
 public void Awake()
 {
     Main = this;
 }