浏览代码

Renamed SetRequestSpawnIndex to SetSpawnIndex

/main
Wodopo 4 年前
当前提交
3b1e385f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      UOP1_Project/Assets/Scripts/SpawnSystem.cs

2
UOP1_Project/Assets/Scripts/SpawnSystem.cs


return playerInstance;
}
public static void SetRequestSpawnIndex(int spawnIndex)
public static void SetSpawnIndex(int spawnIndex)
{
// Prevent setting negative numbers from external sources
requestedSpawnIndex = Mathf.Max(spawnIndex, 0);
正在加载...
取消
保存