Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        controller = GetComponent<CharacterController>();

        moveDirection = new Vector3(0, 0, 0);

        Physics.IgnoreLayerCollision(8, gameObject.layer);

		playerSounds = GetComponent<PlayerSounds>();
		playerPublicMethods = GetComponent<PlayerPubMethods>();

    }
Exemplo n.º 2
0
	void Awake()
	{
		ppm = player.GetComponent<PlayerPubMethods>();
	}