예제 #1
0
    public void DoPostConfigure(GameObject go)
    {
        Light2D light2D = go.AddOrGet <Light2D>();

        light2D.overlayColour = LIGHT2D.CEILINGLIGHT_OVERLAYCOLOR;
        light2D.Color         = new Color(0.5f, 0.5f, 0);
        light2D.Range         = 4f;
        light2D.Angle         = 0f;
        light2D.Direction     = LIGHT2D.FLOORLAMP_DIRECTION;
        light2D.Offset        = new Vector2(0f, 0.5f);
        light2D.shape         = LightShape.Circle;
        light2D.drawOverlay   = true;
        light2D.Lux           = 1000;
        BackPackConfig.SetupVest(go);
    }
예제 #2
0
 public void DoPostConfigure(GameObject go)
 {
     BackPackConfig.SetupVest(go);
 }