Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
005c4d5
Tryout of DFVoice
spassvogel Oct 23, 2015
1cbf362
Tryout of DFVoice
spassvogel Oct 23, 2015
1f99251
Added lobby
spassvogel Oct 23, 2015
c1466ec
Removed duplicate NetworkManager
spassvogel Oct 23, 2015
25f7a02
Added NetworkLobbyPlayer
spassvogel Oct 23, 2015
24e0794
Added various assets
spassvogel Oct 24, 2015
6378113
Added raspberry basket
spassvogel Oct 24, 2015
f91a051
Added sombrero
spassvogel Oct 24, 2015
bab582b
Added wooden crate
spassvogel Oct 24, 2015
34f18be
Added boxes
spassvogel Oct 24, 2015
261816d
Added missing stuff
spassvogel Oct 24, 2015
b988cc7
Removed raspberry birch box
spassvogel Oct 24, 2015
ab9f62d
Added various supermarket assets
spassvogel Oct 26, 2015
3ee1ad1
Randomised spawn locations
spassvogel Oct 28, 2015
f1142f0
Merge branch 'network' into voip
spassvogel Oct 28, 2015
1d0d6bb
Randomised spawn locations
spassvogel Oct 28, 2015
bcbf17c
Fixed lobby
spassvogel Oct 28, 2015
13923f2
Merge branch 'network' into voip
spassvogel Oct 28, 2015
45da3ed
Tryout voip
spassvogel Oct 28, 2015
d787199
Added coffee bean sacks
spassvogel Oct 29, 2015
5bdeacb
Added coffee bean sacks
spassvogel Oct 29, 2015
4fbeb33
Removed duplicate assets
spassvogel Oct 30, 2015
77cc898
Removed unnecesary file
spassvogel Oct 30, 2015
3b48a1e
Implementation of Voip
spassvogel Nov 3, 2015
cd6650a
More experiments with sending voice
spassvogel Nov 3, 2015
d6961c8
Working NetworkLobbyManager (using 'Lobby' scene and 'Main' scene)
Nov 3, 2015
472c83c
Client inheriting from NetworkLobbyManager, sending messages like a b…
Nov 4, 2015
b09d3f2
Merge branch 'voip' into network
Nov 4, 2015
3cd61ed
Fixed Box prefab
Nov 4, 2015
a94aa5c
Started with sending voips
spassvogel Nov 4, 2015
91b7810
Started with sending voips
spassvogel Nov 4, 2015
f6a2022
Set main and lobby scene on networkmanager
spassvogel Nov 5, 2015
b000c52
Voice data is being sent now I think
spassvogel Nov 6, 2015
b824613
Fixed a stupid logic error
spassvogel Nov 6, 2015
b57b197
Removed debug msgs
spassvogel Nov 7, 2015
97f9a25
I don't really remember what I did here ..
spassvogel Nov 7, 2015
ee51df6
Merge branch 'tiendamexicana' of https://github.com/spassvogel/Immers…
spassvogel Nov 7, 2015
88d2341
Added various unsorted assets
spassvogel Nov 8, 2015
21245b7
Fixed VoipController.IsLocal.
Nov 8, 2015
583fe4c
Stable, clean first version of VOIP, using MessageNetworkManager and …
Nov 8, 2015
9c82bde
Added a bunch of other models
spassvogel Nov 8, 2015
ce3fe93
ProjectSettings and debug audio
Nov 8, 2015
39ca030
Added sporty girl character
spassvogel Nov 8, 2015
f4bb8fb
Added adventure characters
spassvogel Nov 10, 2015
d4c276a
Deleted some scripts. Renamed scene
spassvogel Nov 12, 2015
017851d
Sorted shopping cart, bakery rolls, coffee aparatus and basket trolle…
spassvogel Nov 12, 2015
dadf8e6
Added an animated fan
spassvogel Nov 12, 2015
0ea193c
Created a scene with two actors and some scenery
spassvogel Nov 13, 2015
56b8749
Added a flag model. source: http://tf3dm.com/3d-model/usa-flag-6572.h…
spassvogel Nov 14, 2015
2daf00f
Added a basket. Source: http://opengameart.org/content/baskets
spassvogel Nov 14, 2015
c70264f
Added door and light tube, courtesy of http://sweethome3d.com/fr/free…
spassvogel Nov 15, 2015
8efb0b5
Changed most shaders to the new physicality based 'standard' shader. …
spassvogel Nov 15, 2015
66f1e2c
Added Ubuntu themed clock because why the hell not. Future idea: have…
spassvogel Nov 15, 2015
f3bbe31
Added a pan. (the cookware, not bread) source: sweethome3d.com/models…
spassvogel Nov 15, 2015
a39bb98
Added a window. Probably I will need to combine that and the door int…
spassvogel Nov 15, 2015
30ea2fc
Placed some veggies in some boxes
spassvogel Nov 15, 2015
1d7eea7
The Ubuntu clock now shows actual system time! yay realism
spassvogel Nov 15, 2015
713c736
Clock now shows seconds
spassvogel Nov 16, 2015
fc0deba
Added some more food products
spassvogel Nov 16, 2015
129b4a0
Some changes in the scene
spassvogel Nov 20, 2015
5ffc8b1
Added shop
spassvogel Nov 20, 2015
5722a35
Merge branch 'tiendamexicana' of https://github.com/spassvogel/Immers…
spassvogel Nov 20, 2015
1f1a7bf
Added Assets/Models to .gitignore.
Nov 20, 2015
67433d4
Merged
spassvogel Nov 20, 2015
715cc05
VoipTranceiver now only handles VoipMessages received from its Networ…
Nov 21, 2015
5075d83
Merge branch 'network' of https://github.com/spassvogel/ImmersiveLang…
spassvogel Nov 22, 2015
de98f4b
.orig and .orig.meta files are now ignored
spassvogel Nov 22, 2015
1b381ce
Deleted those pesky .orig files
spassvogel Nov 22, 2015
cfeb1b7
Added cardboard functionality to the tienda scene. This means the gu…
spassvogel Nov 22, 2015
a17e943
Added cardboard cam to model
spassvogel Nov 25, 2015
f4f44c6
Added a number of overrides to get some insight into the order of spa…
spassvogel Nov 26, 2015
1c541b0
Fixed some missing assets (fruit boxes)
spassvogel Nov 29, 2015
6a28026
Added support for VSCode
spassvogel Nov 29, 2015
a225915
Merge branch 'tiendagaze' of https://github.com/spassvogel/ImmersiveL…
spassvogel Nov 29, 2015
36422fa
Added sample network stuff
spassvogel Nov 29, 2015
1d59bd8
Using new lobby
spassvogel Nov 29, 2015
6b9b23d
Using new lobby
spassvogel Nov 29, 2015
8c29558
Added Assets/Prefabs/ folder, including GamePlayer prefab.
Nov 29, 2015
e2f40bd
Explored hook
spassvogel Nov 29, 2015
e5ad50c
Ignored some files in VScode
spassvogel Nov 29, 2015
5d73fae
Created ubuntu clock prefab ^_^
spassvogel Nov 29, 2015
e0aa3d1
Merge branch 'tiendagaze' of https://github.com/spassvogel/ImmersiveL…
spassvogel Nov 29, 2015
8f116ac
CardBoardHeadController detached from model
spassvogel Nov 30, 2015
0b49c33
Gaze sync finally works. Spent too much time fixing weird orientation…
spassvogel Nov 30, 2015
6427c98
Created back wall in LaTienda scene.
spassvogel Dec 1, 2015
aa3f9ea
Window is now actually transparent
spassvogel Dec 1, 2015
6b76f44
Added ambient sounds
spassvogel Dec 2, 2015
9e0f68e
Added skybox
spassvogel Dec 3, 2015
51f46aa
Added floor texture
spassvogel Dec 5, 2015
50674b8
Added very simple mouth movement
spassvogel Dec 5, 2015
7d83cc6
Fixed a bug with the idle animation. Cleaned up some code. Made the j…
spassvogel Dec 6, 2015
d929bb8
Eyebrow movement
spassvogel Dec 6, 2015
ef68e46
Started to work on different player avatars. Made a prefab for the ol…
spassvogel Dec 6, 2015
80ad7f7
Started to work on different player avatars. Made a prefab for the ol…
spassvogel Dec 6, 2015
b033a7a
Different prefabs are now being loaded! Yay
spassvogel Dec 16, 2015
dcff0c2
Reorganized some assets in the tienda scene
spassvogel Dec 21, 2015
e9500fa
Fixed double-speed head rotation.
Dec 23, 2015
ccd142e
Intermediate commit: integrating VOIP
Dec 23, 2015
545fd11
Working VOIP. Except second player is not localAuthority of second co…
Dec 23, 2015
b24ceea
Started constrain
spassvogel Dec 24, 2015
1f32a5d
Merge branch 'roles' of https://github.com/spassvogel/ImmersiveLangua…
spassvogel Dec 24, 2015
b344fa4
Removed unused offset
spassvogel Dec 24, 2015
10c1fcf
Fixed merge error
spassvogel Dec 24, 2015
e5cc629
respect mah LocalPlayerAuthortitehhh
spassvogel Dec 24, 2015
44a545d
Clamped rotation
spassvogel Dec 24, 2015
af23e02
Body now rotates with head
spassvogel Dec 26, 2015
f27d75b
Scripts were not added in previous commit
spassvogel Dec 26, 2015
39cd8e5
Changed starting positions
spassvogel Dec 27, 2015
2db40af
GUI modified
spassvogel Dec 27, 2015
58c9534
Wall texture in tienda
spassvogel Dec 27, 2015
f08d553
Fixed VOIP on Player 1.
Dec 27, 2015
86c7a6d
Merge branch 'roles' of https://github.com/spassvogel/ImmersiveLangua…
Dec 27, 2015
fe98ced
Switched roles back.
Dec 27, 2015
83cb86b
Removed useless .meta files.
Dec 27, 2015
03f75e5
Deleted unused stuff
spassvogel Dec 27, 2015
f4e3e12
Removed extra cam
spassvogel Dec 27, 2015
12c0ebf
Added VoipMouthMovement, integrating Voip with SimpleMouthMovement.
Dec 27, 2015
ac134a1
Added valid check in VoipMouthMovement and removed some unused vars
spassvogel Dec 27, 2015
08e65ac
Created outside scene
spassvogel Dec 28, 2015
a85287d
Fixed body rotation based on head rotation.
Dec 30, 2015
a12649b
Merge branch 'roles' of https://github.com/spassvogel/ImmersiveLangua…
Dec 30, 2015
d87a01b
fixed outside scene
spassvogel Jan 2, 2016
b17f817
Test scene for audio
spassvogel Jan 5, 2016
5081da2
Fixed textures on player prefabs
spassvogel Jan 5, 2016
d5aa4ce
back to la tienda
spassvogel Jan 6, 2016
dbbde34
Disabled body rotation in prefabs (is not working correctly).
Jan 6, 2016
b08491d
Removed superfluous Cardboard from LaTienda
Jan 6, 2016
c919596
Created GameplayerRole3
spassvogel Jan 6, 2016
05c7c89
Gameplayer Role 3
spassvogel Jan 6, 2016
7cda64b
Gave the old guys head texture back (i hope)
spassvogel Jan 6, 2016
54b24ee
Merge branch 'roles' of https://github.com/spassvogel/ImmersiveLangua…
spassvogel Jan 6, 2016
9c37684
Added system ceiling
spassvogel Jan 6, 2016
88f44ee
Spectator mode! first player (i.e. host) will be the spectator if the…
spassvogel Jan 7, 2016
0dda130
Spectator mode! first player (i.e. host) will be the spectator if th…
spassvogel Jan 7, 2016
bd2777e
Merge branch 'roles' of https://github.com/spassvogel/ImmersiveLangua…
spassvogel Jan 7, 2016
c2fce94
I dunno wat im doing
spassvogel Oct 31, 2016
6d41ce9
Still no idea
spassvogel Oct 31, 2016
6e3bd3c
Fixed up the code for Unity 5.4
spassvogel Nov 5, 2016
471f81d
Switched roles around
spassvogel Nov 5, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 12 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
Temp/
Library/

# ===================================== #
# Visual Studio / MonoDevelop generated #
# ===================================== #
# =============================================== #
# IDE generated #
# =============================================== #
ExportedObj/
obj/
*.svd
Expand All @@ -18,6 +18,7 @@ obj/
*.user
*.unityproj
*.booproj
*.consulo/

# ============ #
# OS generated #
Expand All @@ -29,6 +30,14 @@ obj/
.Trashes
ehthumbs.db
Thumbs.db
Thumbs.db.meta

# Output folder
Bin/

# Models
Assets/Models

# Git generated
*.orig
*.orig.meta
12 changes: 12 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version":"0.2.0",
"configurations":[
{
"name":"Unity",
"type":"mono",
"request":"attach",
"address":"localhost",
"port":2972
}
]
}
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Place your settings in this file to overwrite default and user settings.
{
// Configure glob patterns for excluding files and folders.
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.meta": true,
"**/*.*.meta": true,
"**/*.unity": true,
"**/*.unityproj": true,
"**/*.mat": true,
"**/*.fbx": true,
"**/*.FBX": true,
"**/*.tga": true,
"**/*.cubemap": true,
"**/**.prefab": true,
"**/Library": true,
"**/ProjectSettings": true,
"**/Temp": true
}
}
9 changes: 9 additions & 0 deletions Assets/Colorful FX.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

180 changes: 180 additions & 0 deletions Assets/Colorful FX/Changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
4.0.1
- Fixed: Performance issue with "Lookup Filter (3D)", "Vintage (Fast)" and "LoFi Palette".

4.0
- Important: This major update breaks compatibility with previous versions. Please refer to the documentation if you need to update from an earlier version.
- Modified: Complete code refactoring, cleanup, fixes & tweaks. Makes use of new Unity 5 features when available. Some effects have been optimized as well.
- Modified: Re-organized the "Component -> Colorful" menu.
- Modified: Rewrote the "Halftone" effect from scratch. It looks way, way better now.
- Modified: Rewrote the "Levels" effect from scratch.
- Modified: The "Kuwahara" radius limit has been bumped to 6.
- Added: Tooltips (almost) everywhere.
- Added: Unity 5.1+ users, you can click the top-right help button on Colorful components at any time to jump to the documentation.
- Added: "LoFi Palette" effect, with 31 presets to give a retro look to your game.
- Added: "Shadows, Midtones, Highlights" effect (lift/gamma/gain or ASC CDL), also known as the ultimate color correction tool.
- Added: "Dynamic Lookup", a fast and powerful color corrector using a RGB cube.
- Added: "Gradient Ramp (Dynamic)", an alternative to "Gradient Ramp" using the builtin gradient editor instead of a texture ramp.
- Added: High quality "Gaussian Blur" effect.
- Added: Edge aware, "Bilateral Gaussian Blur" effect.
- Added: "Grainy Blur", where blur meets noise.
- Added: "Lens Distortion Blur", an alternative to "Radial Blur" with barrel distortion.
- Added: "Directional Blur" effect.
- Added: "Wave Distortion" effect.
- Added: "Lookup Filter (3D)", faster LUT color grading for Shader Model 3.0+ compatible hardware.
- Added: "Vintage (Fast)", variant of the "Vintage" effect for Shader Model 3.0+ compatible hardware.
- Added: "Pixel Matrix" effect.
- Added: "Noise" (monochrome or colored) to add some fine grain to your renders.
- Added: "S-Curve Contrast", a powerful color correction operator.
- Added: "Dithering", a fast ordered dithering effect.
- Added: "Stroke", an artistic effect to turn your renders into brush strokes.
- Added: "Histogram", a debug graph with Luminance, RGB, Red, Green and Blue view modes.
- Added: "Vignette" option for "Radial Blur" so you can progressively blur toward the edges of the screen.
- Added: An alternative algorithm for the "Sharpen" filter.
- Added: "Wiggle" has been improved. You can now set the Amplitude and it also comes with a slightly slower but better looking mode (optional).
- Added: A "Shape" slider on the "LED" filter to adjust the LEDs look.
- Added: "Fast Vignette" now comes with a color mode.
- Added: "Amount" slider for the "Posterize" effect.
- Fixed: "Analog TV" and "Frost" not working correctly on some iOS devices.
- Fixed: "Negative" now works as expected in Linear color space.
- Fixed: Compilation error on PS4.
- Misc: Brand new, faster and more complete documentation, as well as a dedicated website !

3.2
- Added: "IsActive" public property to the "Glitch" effect to detect when it's on or off.
- Misc: Better handling of shader includes.
- Misc: Made the components easier to extend / inherit.
- Fixed: Fixed a small "leak" in the "Vintage" effect. No more GC allocations on every frame.
- Fixed: Compilation issue when upgrading to Unity 5.1 from an earlier Unity version (UnityEditor API change).

3.1
- Added: "Hue Focus" to only display the colors in a given hue range and show the rest as black & white. Works great when used before a "Brightness / Contrast / Gamma" effect to give a sort of Sin City look, where only a few colors are visible and the rest is high-contrast black & white.
- Added: 3 Instagram filters to the "Vintage" effect : Lark, Juno, Reyes.
- Added: A "Random Activation" option to the "Glitch" effect with customizable time ranges.

3.0.1
- Fixed: The "Halftone" effect not using the correct aspect ratio for the dots.
- Fixed: Color-space error in the editor.
- Fixed: Issue with the startup dialog.

3.0
- Added: "Kuwahara", to give an oil painting look or simply soften the scene render.
- Added: "Glitch". Comes with three glitching modes (interference, tearing, complete).
- Added: "Technicolor", to mimic the classic coloring process from the early days of motion pictures.
- Added: "Channel Clamper", to clamp each color channel independently to a minimum and maximum value.
- Added: "Channel Swapper", to combine or swap color channels.
- Added: "White Balance", to remove unrealistic color cast and shift the neutral tone of the render.
- Added: A "Custom" quality mode to "Radial Blur". You can now put a custom sample count if you don't like the default presets.
- Fixed: Better internal file path control. You should now be able to move the Colorful folder safely.
- Misc: General UI fixes & usability tweaks.
- Misc: Documentation fixes & additions (+ videos for animated effects).
- Misc: Removed the documentation from the package, it's now online only. Benefits : the package size is a lot smaller and imports faster.
- Misc: Bumped the minimum Unity version to 4.5.

2.2.3
- Fixed: "Analog TV" failing on some platforms.
- Fixed: A bug introduced in 2.2.1 with "Lookup Filter" and "Vintage" when working in Linear color space.

2.2.2
- Fixed: Bug with "Led" and "Pixelate" in Unity 5.
- Misc: Unity 5 package.

2.2.1
- Added: An "Amount" slider to "Lookup Filter" and "Vintage" to allow blending on the effects.

2.2
- Added: 5 Instagram filters to the "Vintage" effect : Aden, Crema, Ludwig, Perpetua, Slumber.

2.1.1
- Added: A "Scanlines Offset" option to the "Analog TV" effect to scroll the scanlines upwards/downwards.

2.1
- Added: "Vintage" comes with 19 fast Instagram filters : 1977, Amaro, Brannan, Earlybird, Hefe, Hudson, Inkwell, Kelvin, LoFi, Mayfair, Nashville, Rise, Sierra, Sutro, Toaster, Valencia, Walden, Willow, X-Pro II.

2.0.2
- Fixed: Bug with "Lookup Filter" in linear mode.

2.0.1
- Fixed: HDR bug with the "Lookup Filter".
- Modified: The "Lookup Filter" documentation has been updated. Make sure the "Aniso Level" on your LUTs is set to 0.

2.0
- Added: A new quickstart launcher when you import or update Colorful.
- Added: "About Colorful" and "Colorful Manual" in the Help menu.
- Added: "Contrast Vignette". The old "Fast Vignette" plays on darkness and saturation, this new one focuses on darkness and contrast enhancement which results in a more photographic look.
- Added: A "Center" property to "Fast Vignette" to change the center point.
- Added: "Hue / Saturation / Value" now comes with an optional advanced mode. This mode is a bit slower but way more powerful as you can now work separately on reds, yellows, greens, cyans, blues and magentas (like Photoshop).
- Added: "Vibrance" now comes with an optional advanced mode which uses a different algorithm and let you tweak how channels (RGB) are affected.
- Modified: The "Levels" editor has been rewritten from scratch. It's now more efficient and comes with a new "Auto B&W" feature (see the doc). Its public API hasn't changed so it should be compatible with the old one.
- Modified: Bumped the minimum Unity version to 4.3. If for some reason you need a version compatible with Unity 3.5, please contact me.
- Misc: Massive optimizations to the "Hue / Saturation / Value" shader.
- Misc: Global cleanup pass and minor optimizations on all editor classes and shaders.
- Misc: Lots of UI fixes & usability tweaks.
- Misc: A few documentation fixes & additions.

1.7.1
- Added: "Auto Timer" & "Auto Phase" options to "Wiggle" and "Analog TV".
- Added: Icons for the components to make them easier to spot.
- Fixed: The LUT texture used with "Lookup Filter" now bypasses sRGB sampling so it works correctly with the Linear color space.
- Misc: A few documentation fixes & additions.

1.7
- Added: "Halftone" (CMYK and Black & White).
- Added: "Cross Stitch".
- Fixed: Serialization bug affecting all effects' custom inspectors.

1.6.1
- Added: Optional pixel perfect mode to the "Pixelate" and "LED" effects.
- Added: A ratio settings (can be set to automatic) to the "Pixelate" and "LED" effects to change the cell shape.
- Added: Optional noise pass on the Threshold effect.
- Added: HeatRamp.png in the resources folder (can be used to emulate a thermal vision with the Gradient Ramp effect).
- Misc: Documentation update.

1.6
- Added: "Convolution Matrix 3x3".
- Added: "Blend" (works with Texture2D and MovieTexture), featuring 21 blending modes : Darken, Multiply, Color Burn, Linear Burn, Darker Color, Lighten, Screen, Color Dodge, Linear Dodge (Add), Lighter Color, Overlay, Soft Light, Hard Light, Vivid Light, Linear Light, Pin Light, Hard Mix, Difference, Exclusion, Subtract, Divide.
- Added: New option to desaturate the "Fast Vignette".
- Misc: Refactoring, improvements and optimizations of the following effects : Analog TV, Fast Vignette, Frost, Grayscale, Radial Blur.

1.5
- Added: "Gradient Ramp".
- Added: "Lookup Filter" (advanced color grading).
- Added: "Negative" (with proper transition).
- Added: "Wiggle" (underwater distortion).
- Fixed: Unity 4.3 compatibility.
- Misc: General code cleaning, a few minor fixes and various optimizations.
- Misc: Full documentation.

1.4.1
- Fixed: A weird bug with "RGB Split" only working in Directx 11 mode in some setups.

1.4
- Added: "RGB Split".
- Added: "Sharpen".

1.3.4
- Fixed: Bug with Unity 4.1 preventing most shaders to work correctly.

1.3.2
- Added: A new slider to fade the "Double vision" effect.
- Fixed: Brightness bug in "Double vision".
- Fixed: A null pointer exception in "Levels" that could happen in the Editor.

1.3.1
- Misc: Performance improvements.
- Misc: Code cleaning.

1.3
- Fixed: Now compatible with Unity 4 and DirectX 11.
- Fixed: Lots of small bugs.

1.2
- Added: "Analog TV", emulates a CRT screen with scanlines, static noise and barrel distortion !
- Added: "Double Vision".
- Added: "Frost", that looks like viewing through an ice-frosted glass (can be used as a vignette too, to "freeze" the screen progressively).

1.1
- Modified: "Photo Filter" now takes a Color as input instead of three floats.
- Added: "Radial Blur", also known as "Zoom" Blur.

1.0
- Misc: Initial release.
4 changes: 4 additions & 0 deletions Assets/Colorful FX/Changelog.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Assets/Colorful FX/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions Assets/Colorful FX/Editor/BaseEffectEditor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// Colorful FX - Unity Asset
// Copyright (c) 2015 - Thomas Hourdel
// http://www.thomashourdel.com

namespace Colorful.Editors
{
using UnityEngine;
using UnityEditor;

public class BaseEffectEditor : Editor
{
public static GUIStyle tabLeft;
public static GUIStyle tabMiddle;
public static GUIStyle tabRight;
public static GUIStyle tabLeftOn;
public static GUIStyle tabMiddleOn;
public static GUIStyle tabRightOn;

public override void OnInspectorGUI()
{
if (tabLeft == null)
{
tabLeft = new GUIStyle(EditorStyles.miniButtonLeft);
tabMiddle = new GUIStyle(EditorStyles.miniButtonMid);
tabRight = new GUIStyle(EditorStyles.miniButtonRight);

tabLeftOn = new GUIStyle(tabLeft);
tabLeftOn.active = tabLeft.onActive;
tabLeftOn.normal = tabLeft.onNormal;
tabLeftOn.hover = tabLeft.onHover;

tabMiddleOn = new GUIStyle(tabMiddle);
tabMiddleOn.active = tabMiddle.onActive;
tabMiddleOn.normal = tabMiddle.onNormal;
tabMiddleOn.hover = tabMiddle.onHover;

tabRightOn = new GUIStyle(tabRight);
tabRightOn.active = tabRight.onActive;
tabRightOn.normal = tabRight.onNormal;
tabRightOn.hover = tabRight.onHover;
}
}
}
}
8 changes: 8 additions & 0 deletions Assets/Colorful FX/Editor/BaseEffectEditor.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Assets/Colorful FX/Editor/Effects.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading