浏览代码

add comments

/siyaoH-1.17-PlatformMessage
Xingwei Zhu 4 年前
当前提交
9f763455
共有 6 个文件被更改,包括 54 次插入1 次删除
  1. 10
      com.unity.uiwidgets/Runtime/material/animated_icons/animated_icons.cs
  2. 9
      com.unity.uiwidgets/Runtime/material/animated_icons/data/add_event.g.cs
  3. 9
      com.unity.uiwidgets/Runtime/material/animated_icons/data/arrow_menu.g.cs
  4. 9
      com.unity.uiwidgets/Runtime/material/animated_icons/data/close_menu.g.cs
  5. 9
      com.unity.uiwidgets/Runtime/material/animated_icons/data/ellipsis_search.g.cs
  6. 9
      com.unity.uiwidgets/Runtime/material/animated_icons/data/event_add.g.cs

10
com.unity.uiwidgets/Runtime/material/animated_icons/animated_icons.cs


using System.Collections.Generic;
using Unity.UIWidgets.animation;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.ui;

using Color = Unity.UIWidgets.ui.Color;
/**
* In the animated icon data files, we have made some changes to optimize the compilation speed for il2cpp
* Specifically, we change all instance of Offsets to 2 separate floats throughout the file
*
* In this file, we change the codes a bit to support these changes. Please think twice and test on the Gallery sample
* if you want to make further changes here
*/
static class AnimatedIconUtils {
public static float _interpolate(float[] values, float progress) {
D.assert(progress <= 1.0f);

9
com.unity.uiwidgets/Runtime/material/animated_icons/data/add_event.g.cs


using Unity.UIWidgets.ui;
using UnityEngine;
/**
* In the animated icon file, we have made some changes to optimize the compilation speed for il2cpp
* Specifically, we change all instance of Offsets to 2 separate floats throughout the file
*
* To make such changes, you can use the following two replace cmds in VSCode
* (1) replace Offset\((.*?)\) with $1
* (2) replace <Offset> with new float[]
*/
namespace Unity.UIWidgets.material {
partial class AnimatedIconsData {
public static readonly _AnimatedIconData _add_event = new _AnimatedIconData(

9
com.unity.uiwidgets/Runtime/material/animated_icons/data/arrow_menu.g.cs


using Unity.UIWidgets.ui;
using UnityEngine;
/**
* In the animated icon file, we have made some changes to optimize the compilation speed for il2cpp
* Specifically, we change all instance of Offsets to 2 separate floats throughout the file
*
* To make such changes, you can use the following two replace cmds in VSCode
* (1) replace Offset\((.*?)\) with $1
* (2) replace <Offset> with new float[]
*/
namespace Unity.UIWidgets.material {
partial class AnimatedIconsData {
public static readonly _AnimatedIconData _arrow_menu = new _AnimatedIconData(

9
com.unity.uiwidgets/Runtime/material/animated_icons/data/close_menu.g.cs


using Unity.UIWidgets.ui;
using UnityEngine;
/**
* In the animated icon file, we have made some changes to optimize the compilation speed for il2cpp
* Specifically, we change all instance of Offsets to 2 separate floats throughout the file
*
* To make such changes, you can use the following two replace cmds in VSCode
* (1) replace Offset\((.*?)\) with $1
* (2) replace <Offset> with new float[]
*/
namespace Unity.UIWidgets.material {
partial class AnimatedIconsData {
public static readonly _AnimatedIconData _close_menu = new _AnimatedIconData(

9
com.unity.uiwidgets/Runtime/material/animated_icons/data/ellipsis_search.g.cs


using Unity.UIWidgets.ui;
using System.Collections.Generic;
/**
* In the animated icon file, we have made some changes to optimize the compilation speed for il2cpp
* Specifically, we change all instance of Offsets to 2 separate floats throughout the file
*
* To make such changes, you can use the following two replace cmds in VSCode
* (1) replace Offset\((.*?)\) with $1
* (2) replace <Offset> with new float[]
*/
namespace Unity.UIWidgets.material
{
partial class AnimatedIconsData

9
com.unity.uiwidgets/Runtime/material/animated_icons/data/event_add.g.cs


using Unity.UIWidgets.ui;
using System.Collections.Generic;
/**
* In the animated icon file, we have made some changes to optimize the compilation speed for il2cpp
* Specifically, we change all instance of Offsets to 2 separate floats throughout the file
*
* To make such changes, you can use the following two replace cmds in VSCode
* (1) replace Offset\((.*?)\) with $1
* (2) replace <Offset> with new float[]
*/
namespace Unity.UIWidgets.material {
partial class AnimatedIconsData {
public static readonly _AnimatedIconData _event_add =new _AnimatedIconData(

正在加载...
取消
保存