示例#1
0
        public SpawnLocation(SpawnLocationHandler spawnLocationHandler, Vector3 position, bool direction)
        {
            SpawnLocationHandler = spawnLocationHandler;

            Position  = position;
            Direction = direction;
            Name      = World.GetZoneLocalizedName(position);
        }
示例#2
0
        public SpawnLocation(SpawnLocationHandler spawnLocationHandler, Vector3 position, Vector3 cameraPos, Vector3 cameraDir, bool direction = true)
        {
            SpawnLocationHandler = spawnLocationHandler;

            Position  = position;
            Direction = direction;
            Name      = World.GetZoneLocalizedName(position);
            CameraPos = cameraPos;
            CameraDir = cameraDir;
        }