示例#1
0
 private void Start()
 {
     setEffects    = GetComponent <SetEffects>();
     agent         = GetComponent <NavMeshAgent>();
     playerControl = GetComponent <PlayerControl>();
     rb            = GetComponent <Rigidbody>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     rg             = GetComponent <Rigidbody>();
     auxNumColision = numColisions;
     setEffects     = GetComponent <SetEffects>();
     setEffects.PlaySx("SxFire");
 }
示例#3
0
 private void Awake()
 {
     origScale  = transform.localScale;
     scale      = transform.localScale;
     rg         = GetComponent <Rigidbody>();
     setEffects = GetComponent <SetEffects>();
 }
示例#4
0
 void Start()
 {
     rg = GetComponent<Rigidbody>();
     setEffects = GetComponent<SetEffects>();
     controlInteract = GetComponent<ControlInteract>();
     checkers.isMovingMouse(mousePos = Util.getMousePointWorld(Manager.instance.GlobalUsePad));
 }
示例#5
0
 // Start is called before the first frame update
 void Start()
 {
     globalMenu.gameObject.SetActive(false);
     isActiveGlobalMenu = false;
     setItemMoneyItem(0);
     setEffects = GetComponent <SetEffects>();
 }
示例#6
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>();
 }
示例#7
0
 // Start is called before the first frame update
 void Start()
 {
     setEffects = GetComponent <SetEffects>();
     scaleOriginalCollisionArea = transform.localScale;
     maxArea = new Vector3(maxRangeAreaAtack, maxRangeAreaAtack, maxRangeAreaAtack);
     if (MyPlayerControl == null)
     {
         Debug.LogError("Need PLayerControl");
     }
 }
示例#8
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>();
 }
示例#9
0
 // Start is called before the first frame update
 private void Start()
 {
     playerControl = GetComponent <PlayerControl>();
     setEffects    = GetComponent <SetEffects>();
     simpleIA      = GetComponent <SimpleIA>();
 }
示例#10
0
 private void Awake()
 {
     origScale  = rescaleWall;
     scale      = rescaleWall;
     setEffects = GetComponent <SetEffects>();
 }
示例#11
0
 private void Awake()
 {
     playerControl = transform.parent.GetComponent <PlayerControl>();
     setEffects    = GetComponent <SetEffects>();
 }
示例#12
0
 // Start is called before the first frame update
 void Start()
 {
     setEffects = GetComponent <SetEffects>();
 }
示例#13
0
 // Start is called before the first frame update
 void Start()
 {
     setEffects = GetComponent <SetEffects>();
     anim       = GetComponent <Animator>();
 }
示例#14
0
 private void Awake()
 {
     setEffects = GetComponent <SetEffects>();
 }