Esempio n. 1
0
 void Start()
 {
     rg = GetComponent<Rigidbody>();
     setEffects = GetComponent<SetEffects>();
     controlInteract = GetComponent<ControlInteract>();
     checkers.isMovingMouse(mousePos = Util.getMousePointWorld(Manager.instance.GlobalUsePad));
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     wallsCreate     = new List <GameObject>();
     auxMaxIncrement = CanvasControlParent.instance.menuCurrent.maxIncrement;
     controlInteract = GetComponent <ControlInteract>();
     playerControl   = GetComponent <PlayerControl>();
     setEffects      = GetComponent <SetEffects>();
 }
Esempio n. 3
0
 // Start is called before the first frame update
 void Start()
 {
     jumpControl         = GetComponent <JumpControl>();
     characterController = GetComponent <CharacterController>();
     controlInteract     = GetComponent <ControlInteract>();
     playerMove          = GetComponent <PlayerMove>();
     createWall          = GetComponent <CreateWallPlayer>();
     inputControl        = InputControl.instance;
     rb = GetComponent <Rigidbody>();
 }
Esempio n. 4
0
 // Start is called before the first frame update
 void Start()
 {
     canMove                 = true;
     anim                    = GetComponent <Animator>();
     rg                      = GetComponent <Rigidbody>();
     jumpControlPhysic       = GetComponent <JumpControlPhysic>();
     horizontalControlPhysic = GetComponent <HorizontalControlPhysic>();
     controlInteract         = GetComponent <ControlInteract>();
     ingravityFall           = GetComponent <IngravityFall>();
     setEffects              = GetComponent <SetEffects>();
 }