Example #1
0
    public void LoadGiant(EventInfo eventInfo)
    {
        GiantsData myInfo = GameDataController.GetGiantState(this);

        float[] pos = myInfo.Position;
        Vector3 loadPos;

        loadPos.x          = pos[0];
        loadPos.y          = pos[1];
        loadPos.z          = pos[2];
        transform.position = loadPos;
        //State newState = myInfo.CurrentState;

        //TransitionTo(newState);
    }