示例#1
0
    void Awake()
    {
        _inputManager = GetComponent<InputManagerGesture>();
        _characterController = GetComponent<CharacterControllerRunner>();
        _gestureText = FindObjectOfType<GUIText>();
		_shamanSpineController = GetComponent<ShamanChangeSpineAnimation>();
        //_gestureText.fontSize = Screen.width / 8;
        //Linea añadida para empezar con el trigger off
        //FrontTrigger.GetComponent<BoxCollider2D>().enabled = false;
    }
示例#2
0
	private bool entered =false; //If the player has already entered in the trigger, to avoid
	// Use this for initialization
	void Start () {
		_characterController = GameObject.FindWithTag("Player").GetComponent<CharacterControllerRunner>();
	}
示例#3
0
	// Use this for initialization
	void Start () {
		_characterController = GetComponent<CharacterControllerRunner>();
		_shamanSpineController = GetComponent<ShamanChangeSpineAnimation>();

	}