This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Mono.Cecil; | |
using Mono.Cecil.Cil; | |
namespace FixActionBar | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Xml; | |
using UnityEditor; | |
using UnityEngine; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
string targetDir = @"C:\Urho3D\Urho3D\bin\CoreData\Techniques\PBR\"; | |
foreach (var p in GetPermutations()) | |
{ | |
var name = new StringBuilder(); | |
name.Append("PBR"); | |
if (p.MetallicRough) name.Append("MetallicRough"); | |
if (p.Diff) name.Append("Diff"); | |
if (p.Normal) name.Append("Normal"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//обязательно присвойте yaw первоначальное значение | |
REApplication::REApplication(Urho3D::Context* context) | |
: Application(context), | |
yaw_(0.0f), | |
pitch_(0.0f) | |
{ | |
} | |
void REApplication::Start() | |
{ |