示例#1
0
 void InitialComponentsConstruction()
 {
     if (optionalText == null)
     {
         optionalText = new OptionalText();
     }
     if (optionalAnimation == null)
     {
         optionalAnimation = new OptionalAnimation();
     }
     if (optionalSound == null)
     {
         optionalSound = new OptionalSound();
     }
 }
示例#2
0
 void InitialComponentsConstruction()
 {
     if (optionalText == null) optionalText = new OptionalText();
     if (optionalAnimation == null) optionalAnimation = new OptionalAnimation();
     if (optionalSound == null) optionalSound = new OptionalSound();
 }