Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
Made static 1.0f value of ObjectTransparency instead DefaultValue att…
Browse files Browse the repository at this point in the history
…ribute
  • Loading branch information
craftersmine committed Mar 4, 2019
1 parent d0ac626 commit 844c12c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions craftersmine.EtherEngine.Core/GameObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ public class GameObject : IRenderable
public bool IsAnimated { get; set; }

public Color BlendingColor { get; set; }

[DefaultValue(1.0f)]
public float ObjectTransparency { get; set; }// = 1.0f;

public float ObjectTransparency { get; set; } = 1.0f;

/// <summary>
/// Calls when <see cref="GameObject"/> being created
Expand Down

0 comments on commit 844c12c

Please sign in to comment.