public Initialize ( |
||
entryA | First entry in the pair. | |
entryB | Second entry in the pair. | |
리턴 | void |
public override void Initialize(BroadPhaseEntry entryA, BroadPhaseEntry entryB)
{
terrain = entryA as Terrain;
if (terrain == null)
{
terrain = entryB as Terrain;
if (terrain == null)
{
throw new Exception("Inappropriate types used to initialize pair.");
}
}
base.Initialize(entryA, entryB);
}