Ejemplo n.º 1
0
    void Start()
    {
        // attach a long stck as sword in my hand
        GameObject swordGo = new GameObject("sword");

        _swordObject = swordGo.AddComponent <LongStickObject>();
        _swordObject.Init();

        ChangeAnime("stand_ssa");
        _updateFunc = _Idling;
    }
Ejemplo n.º 2
0
	void Start()
	{
		// attach a long stck as sword in my hand
		GameObject swordGo = new GameObject("sword");
		_swordObject = swordGo.AddComponent<LongStickObject>();
		_swordObject.Init();

		ChangeAnime("stand_ssa");
		_updateFunc = _Idling;
	}