Beispiel #1
0
        public ClientPuppetConfig(ConfigFile config, string section)
        {
            RootScale = config.Bind(section, nameof(RootScale), Vector3.one, "The scale of the entire puppet.");

            Head      = new ClientPuppetLimbConfig(config, section + "." + nameof(Head), 0.2f, 0.081f);
            HandLeft  = new ClientPuppetLimbConfig(config, section + "." + nameof(HandLeft), DEFAULT_HAND_SIZE, DEFAULT_HAND_COLOR);
            HandRight = new ClientPuppetLimbConfig(config, section + "." + nameof(HandRight), DEFAULT_HAND_SIZE, DEFAULT_HAND_COLOR);
        }
Beispiel #2
0
 public ClientPuppetConfig(ConfigFile config, string section)
 {
     HandLeft  = new ClientPuppetLimbConfig(config, section + "." + nameof(HandLeft), DEFAULT_HAND_COLOR_HUE, DEFAULT_HAND_COLOR_VALUE);
     HandRight = new ClientPuppetLimbConfig(config, section + "." + nameof(HandRight), DEFAULT_HAND_COLOR_HUE, DEFAULT_HAND_COLOR_VALUE);
 }