Ignore:
Timestamp:
Sep 4, 2018, 1:00:48 PM (6 years ago)
Author:
alloc
Message:

Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/AllocsUtils.cs

    r253 r325  
    1 using System;
     1using UnityEngine;
    22
    3 namespace AllocsFixes
    4 {
     3namespace AllocsFixes {
    54        public static class AllocsUtils {
    6 
    7                 public static string ColorToHex (UnityEngine.Color _color) {
    8                         return string.Format ("{0:X02}{1:X02}{2:X02}", (int)(_color.r * 255), (int)(_color.g * 255), (int)(_color.b * 255));
     5                public static string ColorToHex (Color _color) {
     6                        return string.Format ("{0:X02}{1:X02}{2:X02}", (int) (_color.r * 255), (int) (_color.g * 255),
     7                                (int) (_color.b * 255));
    98                }
    10 
    119        }
    1210}
    13 
Note: See TracChangeset for help on using the changeset viewer.