This file contains hidden or 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
public interface ITitanArena : IDisposable | |
{ | |
ITitanArenaServerInteraction ServerInteraction { get; } | |
ITitanArenaOpponentsManager Opponents { get; } | |
ITitanArenaMiningManager Mining { get; } | |
ITitanArenaLeaguesManager Leagues { get; } | |
ITitanUnionOfTheWeekManager TitanUnionOfTheWeek { get; } | |
ITitanArenaBattlesHolder Battles { get; } | |
ITitanArenaShopManager Shop { get; } | |
} |
This file contains hidden or 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
#nullable enable | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
namespace Nuclear | |
{ |
This file contains hidden or 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
#nullable enable | |
using System; | |
using GUI.Bender; | |
using NuclearBand; | |
using Stateless; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
namespace Bender | |
{ |
This file contains hidden or 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.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
[CanEditMultipleObjects] | |
[CustomEditor(typeof(Transform), false)] | |
public class CustomTransformInspector : Editor | |
{ | |
private Editor _editorInstance; |
This file contains hidden or 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.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
[CanEditMultipleObjects] | |
[CustomEditor(typeof(RectTransform), false)] | |
public class CustomRectTransformInspector : Editor | |
{ | |
private Editor _editorInstance; |
This file contains hidden or 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 UnityEditor; | |
using UnityEngine; | |
using System.Collections; | |
[InitializeOnLoad] | |
public class FullscreenPlayMode : MonoBehaviour { | |
//The size of the toolbar above the game view, excluding the OS border. | |
private static int tabHeight = 22; |
This file contains hidden or 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
//@version=4 | |
study("highest", overlay = true) | |
f_highest(_src, _length)=> | |
_adjusted_length = _length < 1 ? 1 : _length | |
_value = _src | |
for _i = 0 to (_adjusted_length-1) | |
_value := _src[_i] >= _value ? _src[_i] : _value | |
_return = _value |
This file contains hidden or 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
//@version = 3 | |
study(title="Vervoort %b bands", shorttitle="Vervoort %b bands", overlay = true) | |
f_mul (x) => 2 / (x + 1) | |
f_ema (src, len, last) => | |
incEma = f_mul(len) * last + (1 - f_mul(len)) * ema(src, len)[1] | |
[ema(src, len), incEma] | |
calc_tema(src, length, last) => |
This file contains hidden or 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
//@version=2 | |
study("Edited Noro's Bands Scalper Indicator v1.6", shorttitle = "Ind EditedNero1.6", overlay = true) | |
//Settings | |
takepercent = input(30, defval = 30, minval = 0, maxval = 10000, title = "take, 0.1%") | |
needbe = input(true, defval = true, title = "Bands Entry") | |
needct = input(true, defval = false, title = "Counter-trend entry") | |
bodylen = input(10, defval = 10, minval = 0, maxval = 50, title = "Body length") | |
trb = input(1, defval = 1, minval = 1, maxval = 5, title = "Trend bars") | |
len = input(20, defval = 20, minval = 2, maxval = 200, title = "Period") |