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
import Foundation | |
class Promise<PromiseValue> { | |
typealias ResolveCallback<Value, Return> = (_ value: Value) throws -> Return | |
typealias RejectCallback = (_ reason: Error) -> Void | |
var result: Result<PromiseValue, Error>? | |
private var resolver: ResolveCallback<PromiseValue, Void>? | |
private var rejector: RejectCallback? |
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 UnityEngine; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using System.Collections.Generic; | |
namespace NaughtyAttributes.Editor | |
{ | |
[PropertyDrawer(typeof(ReorderableListAttribute))] | |
public class ReorderableListPropertyDrawer : PropertyDrawer | |
{ |
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
#EXTM3U | |
#EXTINF:0,Channel 1 | |
rtsp://www.staging.ebravo.pk:1935/live/tv1.stream | |
#EXTINF:0,Channel 2 | |
rtsp://www.staging.ebravo.pk:1935/live/tv2.stream | |
#EXTINF:0,Channel 3 | |
rtsp://www.staging.ebravo.pk:1935/live/tv3.stream | |
#EXTINF:0,Channel 4 | |
rtsp://www.staging.ebravo.pk:1935/live/tv4.stream | |
#EXTINF:0,Channel 5 |
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 UnityEditor.SceneManagement; | |
using UnityEngine; | |
public class SceneProjectView : EditorWindow { | |
private GUIStyle alternateColor; | |
private Texture2D tex; | |
[MenuItem("Window/Scene Project View")] | |
public static void Init() |