Game Development Reference
In-Depth Information
77.
//Close posi-
tion reached:
78.
//change state
of the door
79.
state = Slidin-
gDoorState.close;
80.
trans-
form.position = originalPosition;
81.
//Inform other scripts about close completion
82.
SendMessage("OnCloseComplete",
Search WWH ::




Custom Search