Ejemplo n.º 1
0
 void Start()
 {
     startCameraPos = transform.position;
     diffCamera     = Mathf.Abs(transform.position.x - player.position.x);
     _info          = PlayerInfoCounter.Instance;
     _act           = _info.GetParameter.actSwitch;
 }
Ejemplo n.º 2
0
    private void Start()
    {
        playerInfoCounter = PlayerInfoCounter.Instance;
        myText.text       = steleText;
        myImage.color     = new Vector4(1, 1, 1, 0);
        myText.color      = new Vector4(1, 1, 1, 0);
        GameObject parentObj = GameObject.Find("Players");

        louis = parentObj.transform.Find("playerObj").gameObject;
    }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     _info = PlayerInfoCounter.Instance;
 }
Ejemplo n.º 4
0
 void Start()
 {
     _info = PlayerInfoCounter.Instance;
     SetItemInfo();
 }
Ejemplo n.º 5
0
 void Awake()
 {
     _inputEvent = GetComponent <IInputEvent>();
     infoCounter = GetComponent <PlayerInfoCounter>();
 }
Ejemplo n.º 6
0
 private void Awake()
 {
     info = PlayerInfoCounter.Instance;
 }
Ejemplo n.º 7
0
 private void Start()
 {
     info = PlayerInfoCounter.Instance;
 }
Ejemplo n.º 8
0
 // Start is called before the first frame update
 void Start()
 {
     _info   = PlayerInfoCounter.Instance;
     _player = GameObject.Find("player").transform;
 }
Ejemplo n.º 9
0
 void Start()
 {
     _info = GetComponent <PlayerInfoCounter>();
 }