static private InitializeCarSectionElement ( Train Train, int CarIndex, int SectionIndex, int ElementIndex, int StateIndex ) : void | ||
Train | Train | |
CarIndex | int | |
SectionIndex | int | |
ElementIndex | int | |
StateIndex | int | |
return | void |
internal static void InitializeCarSectionElement(Train Train, int CarIndex, int SectionIndex, int ElementIndex, int StateIndex)
{
ObjectManager.InitializeAnimatedObject(ref Train.Cars[CarIndex].CarSections[SectionIndex].Elements[ElementIndex], StateIndex, Train.Cars[CarIndex].CarSections[SectionIndex].Overlay, Train.Cars[CarIndex].CurrentlyVisible);
}