public void AssignValues(Floor floorScript) { floorScript.floorHeight = floorHeight; floorScript.windowBoxWidth = windowBoxWidth; floorScript.windowHeight = windowHeight; floorScript.windowWidth = windowWidth; floorScript.sideWinBoxWidth = sideWinBoxWidth; floorScript.sideWindowWidth = sideWindowWidth; floorScript.sideWindowHeight = sideWindowHeight; floorScript.separatorOffset = separatorOffset; floorScript.separatorHeight = separatorHeight; floorScript.checksum = floorHeight + windowBoxWidth + windowHeight + windowWidth + sideWinBoxWidth + sideWindowWidth + sideWindowHeight + separatorOffset + separatorHeight; }
void Awake() { instance = (Floor)target; }