コード例 #1
0
 private void Start()
 {
     instance = this;
 }
コード例 #2
0
 /// <summary>
 /// Here when the player changes the default variant for a part.
 /// </summary>
 /// <param name="part"></param>
 /// <param name="variant"></param>
 private void OnEditorDefaultVariantChanged(AvailablePart part, PartVariant variant)
 {
     VariantPersistScenario.SelectDefaultVariant(part);
 }